BTN gomb1
BTN gomb2
OR vagy
NOT ngomb1
NOT ngomb2
AND xgomb1
AND xgomb2
LED out


wire gomb1 ngomb1
wire gomb2 ngomb2

wire gomb1 xgomb1
wire ngomb2 xgomb1

wire ngomb1 xgomb2
wire gomb2 xgomb2

wire xgomb1  vagy
wire xgomb2  vagy

wire vagy out


AND es
LED carry
wire gomb1 es
wire gomb2 es
wire es carry
